package day52.pet.service;

import day52.basic.domain.dto.AcceptOrderDto;
import day52.basic.util.AjaxResult;
import day52.pet.domain.SearchMasterMsg;
import day52.basic.service.IBaseService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Yang
 * @since 2022-12-27
 */
public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg msg, HttpServletRequest request) throws Exception;

    AjaxResult rejectOrder(Long id);

    AjaxResult acceptOrder(AcceptOrderDto dto);

}
